package fr.castorflex.CshopFlex.Model;

public class Item {

	private String id;
	private String nom;
	private String description;
	private String linkImage;
	private float prix;
	private char currency;

	public Item(String id, String nom, String description, String linkImage,
			float prix, char currency) {
		super();
		this.id = id;
		this.nom = nom;
		this.description = description;
		this.linkImage = linkImage;
		this.prix = prix;
		this.currency = currency;
	}

	public Item(String id, String nom, String description, float price,
			char currency) {
		this(id, nom, description, null, price, currency);
	}

	public String getLinkImage() {
		return linkImage;
	}

	public void setLinkImage(String linkImage) {
		this.linkImage = linkImage;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public float getPrix() {
		return prix;
	}

	public void setPrix(float prix) {
		this.prix = prix;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public char getCurrency() {
		return currency;
	}

	public void setCurrency(char currency) {
		this.currency = currency;
	}

	@Override
	public String toString() {
		return "Item [id=" + id + ", nom=" + nom + ", description="
				+ description + ", linkImage=" + linkImage + ", prix=" + prix
				+ ", currency=" + currency + "]";
	}

}
